﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace middleware.dominio
{
    [Table("Usuarios")]
    public class Usuario
    {
        [Key]
        public string nombre { get; set; }        
        public string usuario { get; set; }
        public string contrasena { get; set; }
        public string grupo { get; set; }

        override
        public string ToString()
        {
            return this.nombre;
        }
    }
}
